function debug_disp(level, arg)
global DEBUG_LEVEL

if level <= DEBUG_LEVEL
    disp(arg);
end